extern crate chrono;
use salvo::prelude::*;

mod handler;
mod router;
mod utils;

#[tokio::main]
async fn main() {

    tracing_subscriber::fmt().init();

    Server::new(router::create_router())
        .bind(([0, 0, 0, 0], 7878))
        .await;
}
